#pragma once
//#include "GlobalDefine.h"
#include <map>

class CSpellListXmlConfigAdapter
{
public:
	CSpellListXmlConfigAdapter(LPCTSTR strTempName);
	~CSpellListXmlConfigAdapter(void);

	bool ReadFile(void);
	bool WriteDataToFile(void);
	bool ReadToList(std::map<CString,CString> &TempList,CString strType);
	bool WriteToLacol(std::map<CString,CString> &TempList);

	std::map<CString,CString> m_SpellListByLang;

	CString m_strType;
	CString strFileName;
};

BOOL   IsFileExist(LPCTSTR   lpFileName);